<?php if(!empty ($notes)) {?>
    <?php foreach ($notes as $note) { ?>
            <blockquote class="blockquote-reverse">
              <p><?php echo $note->isi;?></p>
              <footer>Oleh <cite title="Source Title"><?php echo $note->User->Profil->namaLengkap;?> Petugas <?php echo $note->User->Role->roleName;?></cite></footer>
            </blockquote>
    <?php } ?>
<?php }?>

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'notes-form',
	'enableAjaxValidation'=>false,
)); ?>

<!--<p class="help-block">Fields with <span class="required">*</span> are required.</p>-->

<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model,'isi',array('class'=>'span5','maxlength'=>100)); ?>

<div class="form-actions">
	<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Create' : 'Save',
		)); ?>
</div>

<?php $this->endWidget(); ?>
